@import url('https://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css');
@import url('//at.alicdn.com/t/font_k8qhu4x3ra0xusor.css');

$mainColor:#23a8f5;
body {
    background: #f5f8f9;
    font-family: 'Open Sans', sans-serif;
    color: #7a7676;
    line-height: 20px;
    font-size: 14px;
    padding:0;
    margin: 0;
    width: 100%;
}
label.lab{
    font-weight: normal;
}
label.error{
    display: block;
    padding-top: 5px;
    color: #ec584e !important;
    // width: 420px!important;
    line-height: 24px!important;
    font-size: 14px!important;
    font-weight: normal;
    margin-bottom: 0;
    i{
        font-size: 12px;
    }
}
.icontip{
  background:#000;
  color: #fff;
  position: absolute;
  z-index: 99999;
  padding:5px 10px;
  max-width: 120px;
  &::after,
  &::before {
    position:absolute;
    content:"";
    height:0;
    width: 0;
    pointer-events: none;
    border: solid transparent;
  }
  &.bottom::after, 
  &.bottom::before {
    top: 100%;
  }

  &.bottom::after {
    border-color: rgba(0, 0, 0, 0);
    border-top-color: #000;
    border-width: 4px;
    left: 50%;
    margin-left: -4px;
  }
  &.bottom::before {
    border-color: rgba(0, 0, 0, 0);
    border-top-color: #000;
    border-width: 5px;
    left: 50%;
    margin-left: -5px;
  }
}
.clearfix{
  &:before,
  &:after {
    content: " "; // 1
    display: table; // 2
  }
  &:after {
    clear: both;
  }
}

input, select, textarea {
    font-family: 'Open Sans', sans-serif;
    color: #767676;
}

a {
    color: #666;
    text-decoration: none;
}

a:focus, a:active, a:hover {
    outline: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    color: #353F4F;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    padding:0;
    margin:0;
}
ul, li{
    padding:0;
    margin:0;
    list-style: none;
}

hr {
    border-color: #ddd;
}

.estp_header{
    height: 60px;
    line-height: 60px;
    width: 100%;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    overflow: hidden;
    .logo{
        width: 240px;
        height: 100%;
        background:$mainColor;
        text-align: center;
        color: #fff;
        float: left;
        img{
            width: 100%;
            height: 100%;
        }
    }
    .menu-nav{
        float: left;
        margin-left: 15px;
        a{
            display: block;
            float: left;
            padding:0 15px;
            font-size: 16px;
            &:hover{
                color: $mainColor;
            }
        }
    }
    .menu-right{
        float: right;
        margin-right: 100px;
        a{
            color: #666;
            display: block;
            width: 100%;
            height: 100%;
        }
        li:hover{
            a{
                color: $mainColor;
            }
            i{
                color: $mainColor;
            }
        }
        i{
            display: inline-block;
            vertical-align: middle;
            background:#f1f1f1;
            text-align: center;
            color: #ccd1d9;
            width: 30px;
            height: 30px;
            line-height: 30px;
            border-radius: 100%;
            margin-right: 10px;
        }
    }
}

.main_content{
    width: 1080px;
    margin:0 auto;
    margin-top: 90px;
    margin-bottom: 100px;
}
.top_bar{
    height: 78px;
    border-bottom: 1px solid #f5f5f5;
    padding:0 50px;
    background:#fff;
    a{
        display: block;
        float: left;
        margin-right: 80px;
        padding-top: 35px;
        padding-bottom: 20px;
        font-size: 18px;
        &.active{
            color: $mainColor;
            border-bottom: 3px solid $mainColor;
        }
    }    
}
.tab_panel{
    display: none;
    // &:first-child{display: block;}
    &:nth-child(1){display: block;}
}
.first_1{
    background:#fff;
    border: 1px solid #f4f4f4;
    border-top: none;
    padding:40px;
}
/*---------------------------------------------
 * Util
 --------------------------------------------*/
.bg-white{background-color:#fff;}

.no-padding{padding-left:0; padding-right:0}

.content .err{
    width:100%;
    display:block;
    padding-top:7px;
    padding-left:20px;
    color:#e75457;
}

.icon-wenti{
    color:#ccd1d9; 
    margin-left:12px; 
    font-size:20px;
    cursor:pointer;
}
.txt-tip{
    position: absolute;
    bottom: 0;
    right: 15px;
    display: block;
}
.txt{
    position:relative;
    width:420px;
    height:175px;
    background-color:#f5f5f5;
    padding:15px;
    box-sizing:border-box;
    color:#999;
}
#project_comment-error{
    margin-top: 25px;
    margin-left: -15px;
}
#project_comment{
    width:100%;
    height:130px;
    resize:none;
    color:#333;
    border:0;
    outline:0;
    background-color:transparent;
}

.item-label{
    width:105px;
    height:40px;
    line-height:40px;
    position:relative;
    text-align:left;
    padding-left:20px;
    box-sizing:border-box;
    
    &:after{
        display:block;
        content:"✲";
        height:40px;
        line-height:40px;
        color:$mainColor;
        position:absolute;
        left:0;
        top:0;

    }
}
.notRequired:after{
    display: none;
    content: "";
}


.project-logo{
    position:relative;
    width:160px;
    height:160px;
    background-color:#f5f5f5;
    border:1px dashed #65686c;
    img{
        width: 100%;
        height: 100%;
    }
    // overflow:hidden;
    
    #file{
        width:100%;
        height:100%;
        position:absolute;
        top:0;
        left:0;
        opacity:0;
        filter:alpha(opacity=0);
    }
}

.item{
    padding-top:10px;
    padding-bottom:10px;
    color:#333;
    
    div{
        display:inline-block;
    }
    
    input{
        width:420px;
        height:40px;
        border:1px solid #f2f2f2;
        background-color:#f5f5f5;
        padding-left:20px;
        padding-right:20px;
        color:#333;
        
        &:focus{
            border-color:$mainColor;
            box-shadow:0 0 5px $mainColor;
        }
    }
    
}

#money{
    width:200px;
    padding-right:60px;
}

.wan{
    display:inline-block; 
    width:39px; 
    height:38px; 
    line-height:38px;
    background-color:#ebebef;
    position:absolute; 
    left:160px; 
    top:1px;
}

.upload{
    color:$mainColor;
    width:420px;
    height:40px; 
    line-height:40px; 
    position:relative;
    overflow:hidden;    
}

.uploadBP_btn{
    width: 120px;
    background:#e10005;
    display: block;
    float: left;
    cursor:pointer;
    position: relative;
    height: 40px;
    line-height: 40px;
    color: #fff;
    text-align: center;    
}
#book{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 100%;
    display: block;
    cursor: pointer;
    z-index: 100;
    padding:0;
}

/*-------------------------------------------
 * 标签 (tags)
 ------------------------------------------*/
.tags{
    width:420px;
    border:1px solid #f2f2f2;
    background-color:#f5f5f5;  
    padding-left:10px;
    
    span{
        display:inline-block;
        height:30px;
        line-height:30px;
        padding-left:5px;
        padding-right:5px;
        margin-top:5px;
        margin-right:10px;
        border-radius:15px;
        border:1px solid $mainColor;
        color:$mainColor;
        
        i{
            cursor:pointer;
            margin-left:8px;
        }
    }
}

#tag{
    width:120px; 
    border:0; 
    outline:0;
    padding-left:10px; 
    box-shadow: none;
    background-color:transparent;
}

.focus{
    border-color:$mainColor;
    box-shadow:0 0 5px $mainColor;
}


/*--------------------------------------------
 * 上传进度条(progress bar)
 --------------------------------------------*/
.item .pmgressbar-box{
    height:40px; 
    display:none;
}

.pmgressbar{
    width:200px;
    height:16px;
    border-radius:8px;
    background-color:#f5f5f5;
    overflow:hidden;
    position:relative;
    top:12px;
    margin-right:20px;
    
    span{
        position:absolute;
        left:0;
        top:0;
        width:60%;
        height:100%;
        background-color:#e10005;
    }
}

.pmgressbar-cancel{
    width:16px;
    height:16px;
    border-radius:50%;
    background-color:#ccd1d9;
    position:relative;
    top:12px;
    cursor:pointer;
    
    i{
        font-size:9px;
        font-weight: bold;
        color:#fff;
        position:relative;
        left:0;
        top:-4px;
    }
}

/*--------------------------------------------
 * 下拉选择框 (select)
 --------------------------------------------*/

.select{
    position:relative;
    
    input:first-child{cursor:pointer;}
    
    &>i{
        position:absolute;
        top:12px;
        right:12px;
        font-size:21px;
        color:#b2b2b2;
    }
    
    .options-box{
        position:absolute;
        left:0;
        top:41px;
        width:100%;
        max-height:300px;
        overflow:auto;
        overflow-x:hidden;
        border:1px solid $mainColor;
        box-shadow:0 0 3px $mainColor;
        background-color:#fff;
        z-index:999;
        display:none;
        
        .options{
            display:block;
            height:40px;
            line-height:40px;
            cursor:pointer;
            padding-left:20px;
            padding-right:20px;
            text-align:left;
            color:#666;
            box-sizing:border-box;
            
            &:hover{
                background-color:#f4f8fb;
                color:#333;
            }
            
            i{
               display:none;
            }
        }
        
        .selected{
            background-color:#f4f8fb;
            color:#333;
            
            i{
                font-size:24px;
                color:$mainColor;
                display:block;
            }
        }
    }
}
.next_btn{
    width: 140px;
    background-color: #23a8f5;
    color: #fff;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
input.next_btn{
    width: 140px;
    background-color: #23a8f5;
    color: #fff;
    display: inline-block;
    height: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
// .show_mow{display: none;}
.team_row,.course_row{
    background:#fff;
    border:1px solid #f4f4f4;
    margin-top: 20px;
    .team_txt,.course_txt{
        color: #111;
        line-height: 25px;
        padding:10px 40px 20px 55px;
        font-size: 15px;
    }
    .top_line{
        height: 58px;
        padding:0 40px 0 55px;
        border-bottom: 1px solid #f4f4f4;
        line-height: 58px;
        font-size: 15px;
        .person{
            float: left;
            span{
                color: #111;
            }
            b{
                color: #999;
                display: inline-block;
                font-weight: normal;
                margin-left: 10px;
            }
        }
        .time{
            float: left;
            i{
                color: $mainColor;
                font-size: 18px;
                font-weight: bold;
                vertical-align: middle;
                display: inline-block;
                margin-top: -1px;
            }
            span{
                margin-left: 10px;
                display: inline-block;
                color: #111;
            }
        }
        .tel{
            float: left;
            margin-left: 70px;
            span{
                color: #999;
            }
            b{
                color: #111;
                display: inline-block;
                font-weight: normal;
            }
        }
        .teamBtn,.courseBtn{
            float: right;
            i{
                padding-top: 10px;
                vertical-align: middle;
                margin-left: 15px;
                cursor: pointer;
            }
        }
    }
}
.edit_mow,.add_mow{
    display: none;
    .input_line{
        height: 58px;
        padding:0 40px 0 55px;
        border-bottom: 1px solid #f4f4f4;
        line-height: 58px;
        font-size: 15px;
        input{
            height: 40px;
            background:#f7f7f7;
            border:1px solid #f2f2f2;
            outline: none;
            padding:0 10px;
            width: 175px;
            margin-right: 5px;
        }
        i{
            padding-top: 10px;
            cursor: pointer;
        }
        .time_input{
            width: 340px;
            background:#f7f7f7;
            padding:0 10px;
            border:1px solid #f2f2f2;
            height: 40px;
            overflow: hidden;
            margin-top: 9px;
            input{
                float: left;
                line-height: 40px;
                color: #111;
                width: 265px;
                display: inline-block;
            }
            i{
                float: right;
                line-height: 40px;
                padding-top: 0!important;
                color: $mainColor;
                display: inline-block;
                font-size: 18px;
                font-weight: bold;
                padding-right: 10px;
            }
        }
    }    
    .edit_moreTxt {        
        padding:10px 40px 8px 55px;
        textarea{
            width: 544px;
            padding-left: 10px;
            background: #f5f5f5;
            border: 1px solid #f1f1f1;
            box-sizing: border-box;
            outline: none;
            resize:none;
            height: 150px;
        }
    }
}
.add_person,.add_course{
    height: 58px;
    line-height: 58px;
    background:#fff;
    border:1px solid #f4f4f4;
    margin-top: 20px;
    text-align: center;
    color: #111;
    font-size: 16px;
    cursor: pointer;
    i{
        color: $mainColor;
        font-size: 22px;
        margin-right: 10px;
        vertical-align: middle;
    }
}
.add_mow{
    display: none;
    background:#fff;
    margin-top: 20px;
}
.browse_wrap{
    background:#fff;
    width: 100%;
    padding:0 30px;
    .title{
        color: #222;
        font-size: 16px;
        padding-top: 40px;
        padding-bottom: 30px;
    }
}
.width_auto{
    width: 1060px;
}
.browse_row{
    width: 240px;
    height: 235px;
    border:1px solid #d3d3d3;
    float: left;
    margin-right:20px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    p{
        padding:0;
        margin:0;
    }
    .browse_photo{
        width: 75px;
        height: 75px;
        border-radius: 100%;
        display: block;
        margin:0 auto;
        margin-top: 15px;
    }
    .name{
        font-size: 16px;
        padding:10px 0;
        color: #222;
    }
    .job{
        font-size: 14px;
        color: #a1a1a1;
    }
    .send_pro_btn{
        background: $mainColor;
        color: #fff;
        width: 150px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        display: block;
        font-size: 14px;
        margin:0 auto;
        margin-top: 20px;
        z-index: 999;
    }
    .wechat_code{
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1001;
        display: none;
        width: 100%;
        height: 100%;
        background:rgba(0,0,0,0.5);
        p{
            color: #f2f2f2;
            height: 35px;
            line-height: 35px;
        }
    }
    .QRCODE{
        margin:20px auto;
    }
}